import request from '@/utils/request'

// 查询核酸预约列表列表
export function listOrderrecord(query) {
  return request({
    url: '/lhb/orderrecord/list',
    method: 'get',
    params: query
  })
}

// 查询核酸预约列表详细
export function getOrderrecord(orid) {
  return request({
    url: '/lhb/orderrecord/' + orid,
    method: 'get'
  })
}

// 新增核酸预约列表
export function addOrderrecord(data) {
  return request({
    url: '/lhb/orderrecord',
    method: 'post',
    data: data
  })
}

// 修改核酸预约列表
export function updateOrderrecord(data) {
  return request({
    url: '/lhb/orderrecord',
    method: 'put',
    data: data
  })
}

// 删除核酸预约列表
export function delOrderrecord(orid) {
  return request({
    url: '/lhb/orderrecord/' + orid,
    method: 'delete'
  })
}
